﻿using CommunityToolkit.Mvvm.ComponentModel;

namespace TestMeterialDesign
{
    public partial class UCDesignViewModel : ObservableObject
    {
        [ObservableProperty]
        private string _Word = "123";
        [ObservableProperty]
        private List<string> testLists = new();
        [ObservableProperty]
        private List<Task> _tasks = new();
        [ObservableProperty]
        private List<string> _taskItems = new();
        public static UCDesignViewModel Instance => _Instance ??= new UCDesignViewModel();
        private static UCDesignViewModel? _Instance;
        public UCDesignViewModel()
        {
            TestLists.Add("123");
            TestLists.Add("456");
            TestLists.Add("789");
        }

    }

}
